<p><%= link_to h('<<<返回'), :back %></p>
<h1><%= @pickup.wname %>（<%= Pickup::DEFAULT_STATUS[@pickup.status] %>）</h1>
<hr/>
<p class="d_list_s">
  <%= bili_video_link @pickup.avid, :name => "[查看投稿]" %> |
  <% if @pickup.status == 2 %>
      password：<%= @pickup.password %>
  <% else %>
      <% if @pickup.status != 1 %>
      <%= link_to "[通过]", {:action => :allow, :id => @pickup.id}, :onclick => "return confirm('确定通过av#{@pickup.avid}的推荐吗？');" %>
      <% end %>
      <% if @pickup.status == 1 %>
        <%= link_to "[启用/生成密码]", {:action => :use, :id => @pickup.id}, :onclick => "return confirm('确定启用av#{@pickup.avid}的推荐吗？');" %>
      <% end %>
      <% if @pickup.status != 3 %>
        <%= link_to "[忽略]", {:action => :ignore, :id => @pickup.id}, :onclick => "return confirm('确定忽略av#{@pickup.avid}的推荐吗？');" %>
      <% end %>
  <% end %>
</p>
<hr/>
<p>投稿人：<%= h @pickup.work.author_name %></p>
<p>投稿日期：<%= @pickup.work.cdate %></p>
<hr/>
<p>推荐人：<%= h @pickup.uname %><% if @pickup.ptype == 5 %>（<%=@pickup.dai_uname%>代提交）<% end %></p>
<p>推荐日期：<%= @pickup.created_at %></p>
<p>推荐理由：</p>
<p class="descript"><%= h @pickup.reason %></p>
<% unless @pickup.bak.blank? %>
<p>备注：</p>
<p class="descript"><%= h @pickup.bak %></p>
<% end %>
<hr/>
<p><% unless @num.zero? %>参与周刊集计 <%=@num %> 次<% else %>尚未参与周刊集计<% end %></p>
<p><% if @min_rank %>最高排名：<%=@min_rank.score_rank %>位（<%=@min_rank.weekly_id %>期）<% end %></p>